Blog

jQuery tabs and IE caching...

Curt Gratz February 02, 2010

Spread the word

Curt Gratz

February 02, 2010

Spread the word


Share your thoughts

I ran into an interesting issue using the jQuery UI tabs ajax style and Internet Explorer. 

If you setup the tabs with the with the cache turned off, they will still be cached in IE.   I had worked around this issue by adding a counter that changed every time to my href for the tab, but I found a more elegant solution and thought I would share.

 $(document).ready(function(){

$("#tabs").tabs({ 

spinner: 'Loading...',

cache: false

});

});

The solution for this is to not only set the cache to false, but also to use the ajax options and set cache to false there also.  So the code would change to this...

 $(document).ready(function(){

$("#tabs").tabs({

spinner: 'Loading...',

cache: false,

ajaxOptions: {cache: false}

});

});

Add Your Comment

(5)

Jul 19, 2010 05:40:01 UTC

by göran

Ok, but in which context? Are you using coldbox 3, coldbox 2.6.4 or? Are you using CF8 Server, CF7 or OpenBD or are you just using JQuery and IE?

Jul 19, 2010 05:56:20 UTC

by Curt Gratz

Not a ColdBox or ColdFusion issue at all. It is purely an IE and jQuery issue. IE 6,7 & 8 and jQuery 1.3.2. Curt

May 31, 2011 19:48:46 UTC

by Carlos Alvarado

Thank you, works like a charm =)

Jun 01, 2011 16:44:20 UTC

by Scott Smith

You are the man, thanks! This is definitely just an issue with IE and jQuery and still exists in later versions than 1.3.2 as well.

Mar 14, 2012 14:58:25 UTC

by Alexander

do not work with IE9

Recent Entries

Ortus June 2024 Newsletter!

Ortus June 2024 Newsletter!

Welcome to the latest edition of the Ortus Newsletter! This month, we're excited to bring you highlights from our sessions at CFCamp and Open South Code, as well as a sneak peek into our upcoming events. Discover the latest developments in BoxLang, our dynamic new JVM language, and catch up on all the insightful presentations by our expert team. Let's dive in!

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang June 2024 Newsletter!

BoxLang June 2024 Newsletter!

We're thrilled to bring you the latest updates and exciting developments from the world of BoxLang. This month, we're diving into the newest beta release, introducing a new podcast series, showcasing innovative integrations, and sharing insights from recent events. Whether you're a seasoned developer or just getting started, there's something here for everyone to explore and enjoy.

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang 1.0.0 Beta 3 Launched

BoxLang 1.0.0 Beta 3 Launched

We are thrilled to announce the release of BoxLang 1.0.0-Beta 3! This latest beta version is packed with exciting new features and essential bug fixes, including robust encryption functionality, enhanced Java interoperability, and more efficient event handling. Key highlights include the introduction of query caching capabilities, seamless coercion of Java Single Abstract Method (SAM) interfaces from BoxLang functions, and support for virtual thread executors. So, let’s dive into the details of what’s new in BoxLang 1.0.0-Beta 3 and how you can start leveraging these updates today!

Luis Majano
Luis Majano
June 28, 2024